package com.xyoto.community.mapper.main;

import com.xyoto.community.entity.main.CampusNewsFlash;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Author: 廖振辉
 * Date: 2021/11/17
 * Description: 校园快讯表操作 mapper
 */
@Repository
public interface CampusNewsFlashMapper {

    /**
     * 根据顺序选出当前正处于显示状态的校园快讯
     * @author 廖振辉
     * @return {@link List< CampusNewsFlash>}
     */
    List<CampusNewsFlash> selectListByOrders();

}
